package com.cangsan.erhai.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cangsan.erhai.entity.TabCourse;
import com.cangsan.erhai.entity.TabFootball;
import com.cangsan.erhai.mapper.TabCourseMapper;
import com.cangsan.erhai.service.TabCourseService;
import com.cangsan.erhai.vo.TabCourseVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author 76118
* @description 针对表【tab_course】的数据库操作Service实现
* @createDate 2024-10-09 11:51:29
*/
@Service
public class TabCourseServiceImpl extends ServiceImpl<TabCourseMapper, TabCourse>
    implements TabCourseService{


    @Override
    public IPage<TabCourseVo> selectTabCourseVoPage(IPage<TabCourseVo> page, QueryWrapper<TabCourseVo> wrapper) {
        return getBaseMapper().selectTabCourseVoPage(page,wrapper);
    }

    @Override
    public List<TabFootball> getFootballList(Long contestId) {
        return getBaseMapper().getFootballList(contestId);
    }
}




